package com.bx.mapper.impl;

import com.bx.mapper.BookMapper;
import com.bx.pojo.Book;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Name BookMapperImpl
 * @Author BaiXin
 * @Date 2022-10-22 19:15
 */
@Service
public class BookMapperImpl implements BookMapper {
    @Autowired
    private BookMapper bookMapper;


    @Override
    public Book findById(Integer id) {
        return new Book(1,"计算机","好书");
    }
}
